Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges


Q3Mesh_FirstVertexEdge

You can use the Q3Mesh_FirstVertexEdge function to get the first edge around a vertex.

TQ3MeshEdge Q3Mesh_FirstVertexEdge (
TQ3MeshVertex vertex, 
TQ3MeshIterator *iterator);
vertex
A mesh vertex.
iterator
A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_FirstVertexEdge function returns, as its function result, the first edge around the vertex specified by the vertex parameter, in a counterclockwise ordering. The iterator parameter is a pointer to a mesh iterator structure that Q3Mesh_FirstVertexEdge fills in before returning. You should pass the address of that structure to the Q3Mesh_NextVertexEdge function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996